APP_ROOT = File.expand_path('../..', __FILE__)

TMP = '/mnt/disk'

bind "unix://#{TMP}/catlog.sock"

pidfile "#{TMP}/catlog.pid"
state_path "#{TMP}/catlog.state"

environment 'production'
daemonize true

workers 1
threads 1, 4

rackup File.join(APP_ROOT, 'config.ru')